/*
 * Copyright 2018 - 2050 dnkj.All Rights Reserved.
 *
 */
package com.example.webdownloadserver.service;


import com.example.webdownloadserver.vo.TaskCenter;
import com.example.webdownloadserver.vo.TaskCenterInput;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * 下载中心记录表 <br />
 * @createTime 2020-12-5 12:05:27
 * @author dev-center
 */

public interface TaskCenterService {

	Page<TaskCenter> queryTask(TaskCenterInput input);

	String dowlnload(Long taskId);

	List<TaskCenter> downloadTaskCenterList(int idle);

	List<TaskCenter> uploadTaskCenterList(int idle);

	void update(TaskCenter taskCenter);

	TaskCenter get(Long taskId);

	void createTask(TaskCenter taskCenter);
}
